SftTree/OCX 7.0

SftTreeColumns.InheritBgColor Property

Softel vdm, Inc.

Defines whether the area left of the first cell inherits the cell's background color.

Syntax       

Get

VB.NET

Boolean = object.InheritBgColor  As Boolean

VB

Boolean = object.InheritBgColor  As Boolean

C#.NET

bool Boolean = object.InheritBgColor;

VC++

VARIANT_BOOL Boolean = object->InheritBgColor;
VARIANT_BOOL Boolean = object->GetInheritBgColor();

C

HRESULT object->get_InheritBgColor(VARIANT_BOOL* Boolean);

Delphi

Boolean := object.InheritBgColor   : WordBool;

Put

VB.NET

object.InheritBgColor = Boolean  As Boolean

VB

object.InheritBgColor = Boolean  As Boolean

C#.NET

bool object.InheritBgColor = Boolean;

VC++

VARIANT_BOOL object->InheritBgColor = Boolean;
void object->PutInheritBgColor(VARIANT_BOOL Boolean);

C

HRESULT object->put_InheritBgColor(VARIANT_BOOL Boolean);

Delphi

object.InheritBgColor := Boolean   : WordBool;

object

A SftTreeColumns object.

Boolean

Defines whether the area left of the first cell inherits the cell's background color.

Boolean

Description

True

The area left of the first column inherits the cell's background color.  The column or cell specific colors of the first displayed column are used.  The properties used are Column.BackColor, Cell.BackColor, Column.SelectBackColor and Cell.SelectBackColor.

False

The area left of the first column does not inherit the cell's background color.  The colors defined using the properties Items.BackColor (Items.BackColorOdd) and Items.SelectBackColor are used. 

Comments

The InheritBgColor property defines whether the area left of the first cell inherits the cell's background color.

See Also  SftTreeColumns Object | Object Hierarchy


Feedback / comments / error reports for this topic
© 2015 - Softel vdm, Inc. - www.softelvdm.com